package com.musicstore.model;

public class Artist {

	private int id;
	private String nom;
	private String prenom;
	private int anneeNaissance;

	public Artist(int a_id, String a_nom, String a_prenom, int a_anneeNaissance) {
		this.nom = a_nom;
		this.id = a_id;
		this.prenom = a_prenom;
		this.anneeNaissance = a_anneeNaissance;
	}
	
	//Overloading
	public Artist(int a_id, String a_nom, String a_prenom) {
		this.nom = a_nom;
		this.id = a_id;
		this.prenom = a_prenom;
		this.anneeNaissance = 0;
	}

	public boolean equals(Object obj) {
		return true;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public int getAnneeNaissance() {
		return anneeNaissance;
	}

	public void setAnneeNaissance(int anneeNaissance) {
		this.anneeNaissance = anneeNaissance;
	}
	
	
	
}
